-- GENERATED SPELL FOR [Hematos] --


function spell0_8976(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(9573,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8976', 2000, 1)
end

function Sorts_8976(pUnit, Event)
local choix_sorts_8976 = math.random(0, 0)
if choix_sorts_8976 == 0 then
pUnit:RegisterEvent('spell0_8976', 1, 1)
end
end

function mob8976_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8976', math.random(1500, 3000), 1)
end

function mob8976_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8976_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8976_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8976, 1, 'mob8976_Action')
RegisterUnitEvent(8976, 2, 'mob8976_Leave')
RegisterUnitEvent(8976, 3, 'mob8976_Kill')
RegisterUnitEvent(8976, 4, 'mob8976_Die')
